package level4Assessment;

public class ParkingTransactionTest 
{
	public static void main(String[] args)
	{
		ParkingTransactionFactory newFactory =  new ParkingTransactionFactory();
		//Test1
		newFactory.createTicket('d', "Test1", 3, 15, 4);//drive up
		//Test2
		newFactory.createTicket('d', "Test2", 3, 15, 7);//drive up
		//Test3
		newFactory.createTicket('p', "Test3", 6, 14,9 ,15); //overdue
		//Test4
		newFactory.createTicket('p', "test4", 6, 14,12 ,15);//prepaid
		//Test5
		newFactory.createTicket('d', "test5", 13, 14,15 ,45);//drive up
		//Test6
		newFactory.createTicket('p', "test6", 3, 14,6 ,15);//overdue	
	}
}